#pragma once

#include <mysql.h>
#include <string>
#include "ControlManager.h"

using namespace std;

class DBManager
{
public:
	DBManager(void);
	~DBManager(void);
	void DataBaseConnect();
	void DataBaseDisConnection();
	MYSQL_RES* SQLSend(CString sqlstring, BOOL* bSucess);

private:
	MYSQL *m_Connection;
	MYSQL m_MySql;
};
